package com.hydl.power.mapper;


import com.hydl.power.pojo.Navbar;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NavbarMapper {
    int deleteNavbarById(String navbarId);

    int insert(Navbar record);

    Navbar selectNavbarById(Integer id);

    Navbar selectNavbarByNavId(String navId);

    List<Navbar> getAll();

    int updateById(@Param("id") Integer id, @Param("navName") String navName);

    Navbar getNavbarByPid(Integer pId);

}